FROM openjdk:18-jdk

ADD target/*.war /usr/local/webapp/

WORKDIR /usr/local/webapp

EXPOSE 8080

CMD java -jar GitLab-0.0.1-SNAPSHOT.war